package com.systemdevelopment.mainproject.View.demo;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

import java.io.IOException;
import java.util.Objects;

public class setPane extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    AnchorPane specialPane;

    @Override
    public void start(Stage primaryStage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(setPane.class.getResource("tableView.fxml"));
        Scene scene = new Scene(fxmlLoader.load());
        primaryStage.setTitle("Hello!");
        scene.getStylesheets().add(Objects.requireNonNull(getClass().getResource("../blue_theme.css")).toExternalForm());

        primaryStage.setScene(scene);

        primaryStage.show();

                /*
        Image backgroundImage = new Image(
                Objects.requireNonNull(getClass().getResource("./book.png")).toExternalForm()
        );
        */
        //button.setGraphic(new ImageView(backgroundImage));
    }
}
